package com.zyht.bank.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class AxdCustLoanExample {
    /*
     * axd_cust_loan
     */
    protected String orderByClause;

    /*
     * axd_cust_loan
     */
    protected boolean distinct;

    /*
     * axd_cust_loan
     */
    protected List<Criteria> oredCriteria;

    public AxdCustLoanExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * axd_cust_loan
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andLoanIdIsNull() {
            addCriterion("loan_id is null");
            return (Criteria) this;
        }

        public Criteria andLoanIdIsNotNull() {
            addCriterion("loan_id is not null");
            return (Criteria) this;
        }

        public Criteria andLoanIdEqualTo(Integer value) {
            addCriterion("loan_id =", value, "loanId");
            return (Criteria) this;
        }

        public Criteria andLoanIdNotEqualTo(Integer value) {
            addCriterion("loan_id <>", value, "loanId");
            return (Criteria) this;
        }

        public Criteria andLoanIdGreaterThan(Integer value) {
            addCriterion("loan_id >", value, "loanId");
            return (Criteria) this;
        }

        public Criteria andLoanIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("loan_id >=", value, "loanId");
            return (Criteria) this;
        }

        public Criteria andLoanIdLessThan(Integer value) {
            addCriterion("loan_id <", value, "loanId");
            return (Criteria) this;
        }

        public Criteria andLoanIdLessThanOrEqualTo(Integer value) {
            addCriterion("loan_id <=", value, "loanId");
            return (Criteria) this;
        }

        public Criteria andLoanIdIn(List<Integer> values) {
            addCriterion("loan_id in", values, "loanId");
            return (Criteria) this;
        }

        public Criteria andLoanIdNotIn(List<Integer> values) {
            addCriterion("loan_id not in", values, "loanId");
            return (Criteria) this;
        }

        public Criteria andLoanIdBetween(Integer value1, Integer value2) {
            addCriterion("loan_id between", value1, value2, "loanId");
            return (Criteria) this;
        }

        public Criteria andLoanIdNotBetween(Integer value1, Integer value2) {
            addCriterion("loan_id not between", value1, value2, "loanId");
            return (Criteria) this;
        }

        public Criteria andLoanOrgCodeIsNull() {
            addCriterion("loan_org_code is null");
            return (Criteria) this;
        }

        public Criteria andLoanOrgCodeIsNotNull() {
            addCriterion("loan_org_code is not null");
            return (Criteria) this;
        }

        public Criteria andLoanOrgCodeEqualTo(String value) {
            addCriterion("loan_org_code =", value, "loanOrgCode");
            return (Criteria) this;
        }

        public Criteria andLoanOrgCodeNotEqualTo(String value) {
            addCriterion("loan_org_code <>", value, "loanOrgCode");
            return (Criteria) this;
        }

        public Criteria andLoanOrgCodeGreaterThan(String value) {
            addCriterion("loan_org_code >", value, "loanOrgCode");
            return (Criteria) this;
        }

        public Criteria andLoanOrgCodeGreaterThanOrEqualTo(String value) {
            addCriterion("loan_org_code >=", value, "loanOrgCode");
            return (Criteria) this;
        }

        public Criteria andLoanOrgCodeLessThan(String value) {
            addCriterion("loan_org_code <", value, "loanOrgCode");
            return (Criteria) this;
        }

        public Criteria andLoanOrgCodeLessThanOrEqualTo(String value) {
            addCriterion("loan_org_code <=", value, "loanOrgCode");
            return (Criteria) this;
        }

        public Criteria andLoanOrgCodeLike(String value) {
            addCriterion("loan_org_code like", value, "loanOrgCode");
            return (Criteria) this;
        }

        public Criteria andLoanOrgCodeNotLike(String value) {
            addCriterion("loan_org_code not like", value, "loanOrgCode");
            return (Criteria) this;
        }

        public Criteria andLoanOrgCodeIn(List<String> values) {
            addCriterion("loan_org_code in", values, "loanOrgCode");
            return (Criteria) this;
        }

        public Criteria andLoanOrgCodeNotIn(List<String> values) {
            addCriterion("loan_org_code not in", values, "loanOrgCode");
            return (Criteria) this;
        }

        public Criteria andLoanOrgCodeBetween(String value1, String value2) {
            addCriterion("loan_org_code between", value1, value2, "loanOrgCode");
            return (Criteria) this;
        }

        public Criteria andLoanOrgCodeNotBetween(String value1, String value2) {
            addCriterion("loan_org_code not between", value1, value2, "loanOrgCode");
            return (Criteria) this;
        }

        public Criteria andCustNameIsNull() {
            addCriterion("cust_name is null");
            return (Criteria) this;
        }

        public Criteria andCustNameIsNotNull() {
            addCriterion("cust_name is not null");
            return (Criteria) this;
        }

        public Criteria andCustNameEqualTo(String value) {
            addCriterion("cust_name =", value, "custName");
            return (Criteria) this;
        }

        public Criteria andCustNameNotEqualTo(String value) {
            addCriterion("cust_name <>", value, "custName");
            return (Criteria) this;
        }

        public Criteria andCustNameGreaterThan(String value) {
            addCriterion("cust_name >", value, "custName");
            return (Criteria) this;
        }

        public Criteria andCustNameGreaterThanOrEqualTo(String value) {
            addCriterion("cust_name >=", value, "custName");
            return (Criteria) this;
        }

        public Criteria andCustNameLessThan(String value) {
            addCriterion("cust_name <", value, "custName");
            return (Criteria) this;
        }

        public Criteria andCustNameLessThanOrEqualTo(String value) {
            addCriterion("cust_name <=", value, "custName");
            return (Criteria) this;
        }

        public Criteria andCustNameLike(String value) {
            addCriterion("cust_name like", value, "custName");
            return (Criteria) this;
        }

        public Criteria andCustNameNotLike(String value) {
            addCriterion("cust_name not like", value, "custName");
            return (Criteria) this;
        }

        public Criteria andCustNameIn(List<String> values) {
            addCriterion("cust_name in", values, "custName");
            return (Criteria) this;
        }

        public Criteria andCustNameNotIn(List<String> values) {
            addCriterion("cust_name not in", values, "custName");
            return (Criteria) this;
        }

        public Criteria andCustNameBetween(String value1, String value2) {
            addCriterion("cust_name between", value1, value2, "custName");
            return (Criteria) this;
        }

        public Criteria andCustNameNotBetween(String value1, String value2) {
            addCriterion("cust_name not between", value1, value2, "custName");
            return (Criteria) this;
        }

        public Criteria andCustPhoneIsNull() {
            addCriterion("cust_phone is null");
            return (Criteria) this;
        }

        public Criteria andCustPhoneIsNotNull() {
            addCriterion("cust_phone is not null");
            return (Criteria) this;
        }

        public Criteria andCustPhoneEqualTo(String value) {
            addCriterion("cust_phone =", value, "custPhone");
            return (Criteria) this;
        }

        public Criteria andCustPhoneNotEqualTo(String value) {
            addCriterion("cust_phone <>", value, "custPhone");
            return (Criteria) this;
        }

        public Criteria andCustPhoneGreaterThan(String value) {
            addCriterion("cust_phone >", value, "custPhone");
            return (Criteria) this;
        }

        public Criteria andCustPhoneGreaterThanOrEqualTo(String value) {
            addCriterion("cust_phone >=", value, "custPhone");
            return (Criteria) this;
        }

        public Criteria andCustPhoneLessThan(String value) {
            addCriterion("cust_phone <", value, "custPhone");
            return (Criteria) this;
        }

        public Criteria andCustPhoneLessThanOrEqualTo(String value) {
            addCriterion("cust_phone <=", value, "custPhone");
            return (Criteria) this;
        }

        public Criteria andCustPhoneLike(String value) {
            addCriterion("cust_phone like", value, "custPhone");
            return (Criteria) this;
        }

        public Criteria andCustPhoneNotLike(String value) {
            addCriterion("cust_phone not like", value, "custPhone");
            return (Criteria) this;
        }

        public Criteria andCustPhoneIn(List<String> values) {
            addCriterion("cust_phone in", values, "custPhone");
            return (Criteria) this;
        }

        public Criteria andCustPhoneNotIn(List<String> values) {
            addCriterion("cust_phone not in", values, "custPhone");
            return (Criteria) this;
        }

        public Criteria andCustPhoneBetween(String value1, String value2) {
            addCriterion("cust_phone between", value1, value2, "custPhone");
            return (Criteria) this;
        }

        public Criteria andCustPhoneNotBetween(String value1, String value2) {
            addCriterion("cust_phone not between", value1, value2, "custPhone");
            return (Criteria) this;
        }

        public Criteria andCustIdNumIsNull() {
            addCriterion("cust_id_num is null");
            return (Criteria) this;
        }

        public Criteria andCustIdNumIsNotNull() {
            addCriterion("cust_id_num is not null");
            return (Criteria) this;
        }

        public Criteria andCustIdNumEqualTo(String value) {
            addCriterion("cust_id_num =", value, "custIdNum");
            return (Criteria) this;
        }

        public Criteria andCustIdNumNotEqualTo(String value) {
            addCriterion("cust_id_num <>", value, "custIdNum");
            return (Criteria) this;
        }

        public Criteria andCustIdNumGreaterThan(String value) {
            addCriterion("cust_id_num >", value, "custIdNum");
            return (Criteria) this;
        }

        public Criteria andCustIdNumGreaterThanOrEqualTo(String value) {
            addCriterion("cust_id_num >=", value, "custIdNum");
            return (Criteria) this;
        }

        public Criteria andCustIdNumLessThan(String value) {
            addCriterion("cust_id_num <", value, "custIdNum");
            return (Criteria) this;
        }

        public Criteria andCustIdNumLessThanOrEqualTo(String value) {
            addCriterion("cust_id_num <=", value, "custIdNum");
            return (Criteria) this;
        }

        public Criteria andCustIdNumLike(String value) {
            addCriterion("cust_id_num like", value, "custIdNum");
            return (Criteria) this;
        }

        public Criteria andCustIdNumNotLike(String value) {
            addCriterion("cust_id_num not like", value, "custIdNum");
            return (Criteria) this;
        }

        public Criteria andCustIdNumIn(List<String> values) {
            addCriterion("cust_id_num in", values, "custIdNum");
            return (Criteria) this;
        }

        public Criteria andCustIdNumNotIn(List<String> values) {
            addCriterion("cust_id_num not in", values, "custIdNum");
            return (Criteria) this;
        }

        public Criteria andCustIdNumBetween(String value1, String value2) {
            addCriterion("cust_id_num between", value1, value2, "custIdNum");
            return (Criteria) this;
        }

        public Criteria andCustIdNumNotBetween(String value1, String value2) {
            addCriterion("cust_id_num not between", value1, value2, "custIdNum");
            return (Criteria) this;
        }

        public Criteria andCreditCodeIsNull() {
            addCriterion("credit_code is null");
            return (Criteria) this;
        }

        public Criteria andCreditCodeIsNotNull() {
            addCriterion("credit_code is not null");
            return (Criteria) this;
        }

        public Criteria andCreditCodeEqualTo(String value) {
            addCriterion("credit_code =", value, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeNotEqualTo(String value) {
            addCriterion("credit_code <>", value, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeGreaterThan(String value) {
            addCriterion("credit_code >", value, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeGreaterThanOrEqualTo(String value) {
            addCriterion("credit_code >=", value, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeLessThan(String value) {
            addCriterion("credit_code <", value, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeLessThanOrEqualTo(String value) {
            addCriterion("credit_code <=", value, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeLike(String value) {
            addCriterion("credit_code like", value, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeNotLike(String value) {
            addCriterion("credit_code not like", value, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeIn(List<String> values) {
            addCriterion("credit_code in", values, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeNotIn(List<String> values) {
            addCriterion("credit_code not in", values, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeBetween(String value1, String value2) {
            addCriterion("credit_code between", value1, value2, "creditCode");
            return (Criteria) this;
        }

        public Criteria andCreditCodeNotBetween(String value1, String value2) {
            addCriterion("credit_code not between", value1, value2, "creditCode");
            return (Criteria) this;
        }

        public Criteria andIsLoanIsNull() {
            addCriterion("is_loan is null");
            return (Criteria) this;
        }

        public Criteria andIsLoanIsNotNull() {
            addCriterion("is_loan is not null");
            return (Criteria) this;
        }

        public Criteria andIsLoanEqualTo(String value) {
            addCriterion("is_loan =", value, "isLoan");
            return (Criteria) this;
        }

        public Criteria andIsLoanNotEqualTo(String value) {
            addCriterion("is_loan <>", value, "isLoan");
            return (Criteria) this;
        }

        public Criteria andIsLoanGreaterThan(String value) {
            addCriterion("is_loan >", value, "isLoan");
            return (Criteria) this;
        }

        public Criteria andIsLoanGreaterThanOrEqualTo(String value) {
            addCriterion("is_loan >=", value, "isLoan");
            return (Criteria) this;
        }

        public Criteria andIsLoanLessThan(String value) {
            addCriterion("is_loan <", value, "isLoan");
            return (Criteria) this;
        }

        public Criteria andIsLoanLessThanOrEqualTo(String value) {
            addCriterion("is_loan <=", value, "isLoan");
            return (Criteria) this;
        }

        public Criteria andIsLoanLike(String value) {
            addCriterion("is_loan like", value, "isLoan");
            return (Criteria) this;
        }

        public Criteria andIsLoanNotLike(String value) {
            addCriterion("is_loan not like", value, "isLoan");
            return (Criteria) this;
        }

        public Criteria andIsLoanIn(List<String> values) {
            addCriterion("is_loan in", values, "isLoan");
            return (Criteria) this;
        }

        public Criteria andIsLoanNotIn(List<String> values) {
            addCriterion("is_loan not in", values, "isLoan");
            return (Criteria) this;
        }

        public Criteria andIsLoanBetween(String value1, String value2) {
            addCriterion("is_loan between", value1, value2, "isLoan");
            return (Criteria) this;
        }

        public Criteria andIsLoanNotBetween(String value1, String value2) {
            addCriterion("is_loan not between", value1, value2, "isLoan");
            return (Criteria) this;
        }

        public Criteria andLoanDateIsNull() {
            addCriterion("loan_date is null");
            return (Criteria) this;
        }

        public Criteria andLoanDateIsNotNull() {
            addCriterion("loan_date is not null");
            return (Criteria) this;
        }

        public Criteria andLoanDateEqualTo(Date value) {
            addCriterionForJDBCDate("loan_date =", value, "loanDate");
            return (Criteria) this;
        }

        public Criteria andLoanDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("loan_date <>", value, "loanDate");
            return (Criteria) this;
        }

        public Criteria andLoanDateGreaterThan(Date value) {
            addCriterionForJDBCDate("loan_date >", value, "loanDate");
            return (Criteria) this;
        }

        public Criteria andLoanDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("loan_date >=", value, "loanDate");
            return (Criteria) this;
        }

        public Criteria andLoanDateLessThan(Date value) {
            addCriterionForJDBCDate("loan_date <", value, "loanDate");
            return (Criteria) this;
        }

        public Criteria andLoanDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("loan_date <=", value, "loanDate");
            return (Criteria) this;
        }

        public Criteria andLoanDateIn(List<Date> values) {
            addCriterionForJDBCDate("loan_date in", values, "loanDate");
            return (Criteria) this;
        }

        public Criteria andLoanDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("loan_date not in", values, "loanDate");
            return (Criteria) this;
        }

        public Criteria andLoanDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("loan_date between", value1, value2, "loanDate");
            return (Criteria) this;
        }

        public Criteria andLoanDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("loan_date not between", value1, value2, "loanDate");
            return (Criteria) this;
        }

        public Criteria andDebtDueDateIsNull() {
            addCriterion("debt_due_date is null");
            return (Criteria) this;
        }

        public Criteria andDebtDueDateIsNotNull() {
            addCriterion("debt_due_date is not null");
            return (Criteria) this;
        }

        public Criteria andDebtDueDateEqualTo(Date value) {
            addCriterionForJDBCDate("debt_due_date =", value, "debtDueDate");
            return (Criteria) this;
        }

        public Criteria andDebtDueDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("debt_due_date <>", value, "debtDueDate");
            return (Criteria) this;
        }

        public Criteria andDebtDueDateGreaterThan(Date value) {
            addCriterionForJDBCDate("debt_due_date >", value, "debtDueDate");
            return (Criteria) this;
        }

        public Criteria andDebtDueDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("debt_due_date >=", value, "debtDueDate");
            return (Criteria) this;
        }

        public Criteria andDebtDueDateLessThan(Date value) {
            addCriterionForJDBCDate("debt_due_date <", value, "debtDueDate");
            return (Criteria) this;
        }

        public Criteria andDebtDueDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("debt_due_date <=", value, "debtDueDate");
            return (Criteria) this;
        }

        public Criteria andDebtDueDateIn(List<Date> values) {
            addCriterionForJDBCDate("debt_due_date in", values, "debtDueDate");
            return (Criteria) this;
        }

        public Criteria andDebtDueDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("debt_due_date not in", values, "debtDueDate");
            return (Criteria) this;
        }

        public Criteria andDebtDueDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("debt_due_date between", value1, value2, "debtDueDate");
            return (Criteria) this;
        }

        public Criteria andDebtDueDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("debt_due_date not between", value1, value2, "debtDueDate");
            return (Criteria) this;
        }

        public Criteria andLoanCleanDateIsNull() {
            addCriterion("loan_clean_date is null");
            return (Criteria) this;
        }

        public Criteria andLoanCleanDateIsNotNull() {
            addCriterion("loan_clean_date is not null");
            return (Criteria) this;
        }

        public Criteria andLoanCleanDateEqualTo(Date value) {
            addCriterionForJDBCDate("loan_clean_date =", value, "loanCleanDate");
            return (Criteria) this;
        }

        public Criteria andLoanCleanDateNotEqualTo(Date value) {
            addCriterionForJDBCDate("loan_clean_date <>", value, "loanCleanDate");
            return (Criteria) this;
        }

        public Criteria andLoanCleanDateGreaterThan(Date value) {
            addCriterionForJDBCDate("loan_clean_date >", value, "loanCleanDate");
            return (Criteria) this;
        }

        public Criteria andLoanCleanDateGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("loan_clean_date >=", value, "loanCleanDate");
            return (Criteria) this;
        }

        public Criteria andLoanCleanDateLessThan(Date value) {
            addCriterionForJDBCDate("loan_clean_date <", value, "loanCleanDate");
            return (Criteria) this;
        }

        public Criteria andLoanCleanDateLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("loan_clean_date <=", value, "loanCleanDate");
            return (Criteria) this;
        }

        public Criteria andLoanCleanDateIn(List<Date> values) {
            addCriterionForJDBCDate("loan_clean_date in", values, "loanCleanDate");
            return (Criteria) this;
        }

        public Criteria andLoanCleanDateNotIn(List<Date> values) {
            addCriterionForJDBCDate("loan_clean_date not in", values, "loanCleanDate");
            return (Criteria) this;
        }

        public Criteria andLoanCleanDateBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("loan_clean_date between", value1, value2, "loanCleanDate");
            return (Criteria) this;
        }

        public Criteria andLoanCleanDateNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("loan_clean_date not between", value1, value2, "loanCleanDate");
            return (Criteria) this;
        }

        public Criteria andIsCheckIsNull() {
            addCriterion("is_check is null");
            return (Criteria) this;
        }

        public Criteria andIsCheckIsNotNull() {
            addCriterion("is_check is not null");
            return (Criteria) this;
        }

        public Criteria andIsCheckEqualTo(String value) {
            addCriterion("is_check =", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckNotEqualTo(String value) {
            addCriterion("is_check <>", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckGreaterThan(String value) {
            addCriterion("is_check >", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckGreaterThanOrEqualTo(String value) {
            addCriterion("is_check >=", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckLessThan(String value) {
            addCriterion("is_check <", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckLessThanOrEqualTo(String value) {
            addCriterion("is_check <=", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckLike(String value) {
            addCriterion("is_check like", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckNotLike(String value) {
            addCriterion("is_check not like", value, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckIn(List<String> values) {
            addCriterion("is_check in", values, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckNotIn(List<String> values) {
            addCriterion("is_check not in", values, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckBetween(String value1, String value2) {
            addCriterion("is_check between", value1, value2, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckNotBetween(String value1, String value2) {
            addCriterion("is_check not between", value1, value2, "isCheck");
            return (Criteria) this;
        }

        public Criteria andIsCheckConformIsNull() {
            addCriterion("is_check_conform is null");
            return (Criteria) this;
        }

        public Criteria andIsCheckConformIsNotNull() {
            addCriterion("is_check_conform is not null");
            return (Criteria) this;
        }

        public Criteria andIsCheckConformEqualTo(String value) {
            addCriterion("is_check_conform =", value, "isCheckConform");
            return (Criteria) this;
        }

        public Criteria andIsCheckConformNotEqualTo(String value) {
            addCriterion("is_check_conform <>", value, "isCheckConform");
            return (Criteria) this;
        }

        public Criteria andIsCheckConformGreaterThan(String value) {
            addCriterion("is_check_conform >", value, "isCheckConform");
            return (Criteria) this;
        }

        public Criteria andIsCheckConformGreaterThanOrEqualTo(String value) {
            addCriterion("is_check_conform >=", value, "isCheckConform");
            return (Criteria) this;
        }

        public Criteria andIsCheckConformLessThan(String value) {
            addCriterion("is_check_conform <", value, "isCheckConform");
            return (Criteria) this;
        }

        public Criteria andIsCheckConformLessThanOrEqualTo(String value) {
            addCriterion("is_check_conform <=", value, "isCheckConform");
            return (Criteria) this;
        }

        public Criteria andIsCheckConformLike(String value) {
            addCriterion("is_check_conform like", value, "isCheckConform");
            return (Criteria) this;
        }

        public Criteria andIsCheckConformNotLike(String value) {
            addCriterion("is_check_conform not like", value, "isCheckConform");
            return (Criteria) this;
        }

        public Criteria andIsCheckConformIn(List<String> values) {
            addCriterion("is_check_conform in", values, "isCheckConform");
            return (Criteria) this;
        }

        public Criteria andIsCheckConformNotIn(List<String> values) {
            addCriterion("is_check_conform not in", values, "isCheckConform");
            return (Criteria) this;
        }

        public Criteria andIsCheckConformBetween(String value1, String value2) {
            addCriterion("is_check_conform between", value1, value2, "isCheckConform");
            return (Criteria) this;
        }

        public Criteria andIsCheckConformNotBetween(String value1, String value2) {
            addCriterion("is_check_conform not between", value1, value2, "isCheckConform");
            return (Criteria) this;
        }

        public Criteria andCheckReplyIsNull() {
            addCriterion("check_reply is null");
            return (Criteria) this;
        }

        public Criteria andCheckReplyIsNotNull() {
            addCriterion("check_reply is not null");
            return (Criteria) this;
        }

        public Criteria andCheckReplyEqualTo(String value) {
            addCriterion("check_reply =", value, "checkReply");
            return (Criteria) this;
        }

        public Criteria andCheckReplyNotEqualTo(String value) {
            addCriterion("check_reply <>", value, "checkReply");
            return (Criteria) this;
        }

        public Criteria andCheckReplyGreaterThan(String value) {
            addCriterion("check_reply >", value, "checkReply");
            return (Criteria) this;
        }

        public Criteria andCheckReplyGreaterThanOrEqualTo(String value) {
            addCriterion("check_reply >=", value, "checkReply");
            return (Criteria) this;
        }

        public Criteria andCheckReplyLessThan(String value) {
            addCriterion("check_reply <", value, "checkReply");
            return (Criteria) this;
        }

        public Criteria andCheckReplyLessThanOrEqualTo(String value) {
            addCriterion("check_reply <=", value, "checkReply");
            return (Criteria) this;
        }

        public Criteria andCheckReplyLike(String value) {
            addCriterion("check_reply like", value, "checkReply");
            return (Criteria) this;
        }

        public Criteria andCheckReplyNotLike(String value) {
            addCriterion("check_reply not like", value, "checkReply");
            return (Criteria) this;
        }

        public Criteria andCheckReplyIn(List<String> values) {
            addCriterion("check_reply in", values, "checkReply");
            return (Criteria) this;
        }

        public Criteria andCheckReplyNotIn(List<String> values) {
            addCriterion("check_reply not in", values, "checkReply");
            return (Criteria) this;
        }

        public Criteria andCheckReplyBetween(String value1, String value2) {
            addCriterion("check_reply between", value1, value2, "checkReply");
            return (Criteria) this;
        }

        public Criteria andCheckReplyNotBetween(String value1, String value2) {
            addCriterion("check_reply not between", value1, value2, "checkReply");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNull() {
            addCriterion("is_del is null");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNotNull() {
            addCriterion("is_del is not null");
            return (Criteria) this;
        }

        public Criteria andIsDelEqualTo(String value) {
            addCriterion("is_del =", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotEqualTo(String value) {
            addCriterion("is_del <>", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThan(String value) {
            addCriterion("is_del >", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThanOrEqualTo(String value) {
            addCriterion("is_del >=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThan(String value) {
            addCriterion("is_del <", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThanOrEqualTo(String value) {
            addCriterion("is_del <=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLike(String value) {
            addCriterion("is_del like", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotLike(String value) {
            addCriterion("is_del not like", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelIn(List<String> values) {
            addCriterion("is_del in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotIn(List<String> values) {
            addCriterion("is_del not in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelBetween(String value1, String value2) {
            addCriterion("is_del between", value1, value2, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotBetween(String value1, String value2) {
            addCriterion("is_del not between", value1, value2, "isDel");
            return (Criteria) this;
        }

        public Criteria andOrgBranchIsNull() {
            addCriterion("org_branch is null");
            return (Criteria) this;
        }

        public Criteria andOrgBranchIsNotNull() {
            addCriterion("org_branch is not null");
            return (Criteria) this;
        }

        public Criteria andOrgBranchEqualTo(String value) {
            addCriterion("org_branch =", value, "orgBranch");
            return (Criteria) this;
        }

        public Criteria andOrgBranchNotEqualTo(String value) {
            addCriterion("org_branch <>", value, "orgBranch");
            return (Criteria) this;
        }

        public Criteria andOrgBranchGreaterThan(String value) {
            addCriterion("org_branch >", value, "orgBranch");
            return (Criteria) this;
        }

        public Criteria andOrgBranchGreaterThanOrEqualTo(String value) {
            addCriterion("org_branch >=", value, "orgBranch");
            return (Criteria) this;
        }

        public Criteria andOrgBranchLessThan(String value) {
            addCriterion("org_branch <", value, "orgBranch");
            return (Criteria) this;
        }

        public Criteria andOrgBranchLessThanOrEqualTo(String value) {
            addCriterion("org_branch <=", value, "orgBranch");
            return (Criteria) this;
        }

        public Criteria andOrgBranchLike(String value) {
            addCriterion("org_branch like", value, "orgBranch");
            return (Criteria) this;
        }

        public Criteria andOrgBranchNotLike(String value) {
            addCriterion("org_branch not like", value, "orgBranch");
            return (Criteria) this;
        }

        public Criteria andOrgBranchIn(List<String> values) {
            addCriterion("org_branch in", values, "orgBranch");
            return (Criteria) this;
        }

        public Criteria andOrgBranchNotIn(List<String> values) {
            addCriterion("org_branch not in", values, "orgBranch");
            return (Criteria) this;
        }

        public Criteria andOrgBranchBetween(String value1, String value2) {
            addCriterion("org_branch between", value1, value2, "orgBranch");
            return (Criteria) this;
        }

        public Criteria andOrgBranchNotBetween(String value1, String value2) {
            addCriterion("org_branch not between", value1, value2, "orgBranch");
            return (Criteria) this;
        }

        public Criteria andSubBranchIsNull() {
            addCriterion("sub_branch is null");
            return (Criteria) this;
        }

        public Criteria andSubBranchIsNotNull() {
            addCriterion("sub_branch is not null");
            return (Criteria) this;
        }

        public Criteria andSubBranchEqualTo(String value) {
            addCriterion("sub_branch =", value, "subBranch");
            return (Criteria) this;
        }

        public Criteria andSubBranchNotEqualTo(String value) {
            addCriterion("sub_branch <>", value, "subBranch");
            return (Criteria) this;
        }

        public Criteria andSubBranchGreaterThan(String value) {
            addCriterion("sub_branch >", value, "subBranch");
            return (Criteria) this;
        }

        public Criteria andSubBranchGreaterThanOrEqualTo(String value) {
            addCriterion("sub_branch >=", value, "subBranch");
            return (Criteria) this;
        }

        public Criteria andSubBranchLessThan(String value) {
            addCriterion("sub_branch <", value, "subBranch");
            return (Criteria) this;
        }

        public Criteria andSubBranchLessThanOrEqualTo(String value) {
            addCriterion("sub_branch <=", value, "subBranch");
            return (Criteria) this;
        }

        public Criteria andSubBranchLike(String value) {
            addCriterion("sub_branch like", value, "subBranch");
            return (Criteria) this;
        }

        public Criteria andSubBranchNotLike(String value) {
            addCriterion("sub_branch not like", value, "subBranch");
            return (Criteria) this;
        }

        public Criteria andSubBranchIn(List<String> values) {
            addCriterion("sub_branch in", values, "subBranch");
            return (Criteria) this;
        }

        public Criteria andSubBranchNotIn(List<String> values) {
            addCriterion("sub_branch not in", values, "subBranch");
            return (Criteria) this;
        }

        public Criteria andSubBranchBetween(String value1, String value2) {
            addCriterion("sub_branch between", value1, value2, "subBranch");
            return (Criteria) this;
        }

        public Criteria andSubBranchNotBetween(String value1, String value2) {
            addCriterion("sub_branch not between", value1, value2, "subBranch");
            return (Criteria) this;
        }

        public Criteria andFlagIsNull() {
            addCriterion("flag is null");
            return (Criteria) this;
        }

        public Criteria andFlagIsNotNull() {
            addCriterion("flag is not null");
            return (Criteria) this;
        }

        public Criteria andFlagEqualTo(String value) {
            addCriterion("flag =", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotEqualTo(String value) {
            addCriterion("flag <>", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThan(String value) {
            addCriterion("flag >", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThanOrEqualTo(String value) {
            addCriterion("flag >=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThan(String value) {
            addCriterion("flag <", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThanOrEqualTo(String value) {
            addCriterion("flag <=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLike(String value) {
            addCriterion("flag like", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotLike(String value) {
            addCriterion("flag not like", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagIn(List<String> values) {
            addCriterion("flag in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotIn(List<String> values) {
            addCriterion("flag not in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagBetween(String value1, String value2) {
            addCriterion("flag between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotBetween(String value1, String value2) {
            addCriterion("flag not between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andModifyDateIsNull() {
            addCriterion("modify_date is null");
            return (Criteria) this;
        }

        public Criteria andModifyDateIsNotNull() {
            addCriterion("modify_date is not null");
            return (Criteria) this;
        }

        public Criteria andModifyDateEqualTo(Date value) {
            addCriterion("modify_date =", value, "modifyDate");
            return (Criteria) this;
        }

        public Criteria andModifyDateNotEqualTo(Date value) {
            addCriterion("modify_date <>", value, "modifyDate");
            return (Criteria) this;
        }

        public Criteria andModifyDateGreaterThan(Date value) {
            addCriterion("modify_date >", value, "modifyDate");
            return (Criteria) this;
        }

        public Criteria andModifyDateGreaterThanOrEqualTo(Date value) {
            addCriterion("modify_date >=", value, "modifyDate");
            return (Criteria) this;
        }

        public Criteria andModifyDateLessThan(Date value) {
            addCriterion("modify_date <", value, "modifyDate");
            return (Criteria) this;
        }

        public Criteria andModifyDateLessThanOrEqualTo(Date value) {
            addCriterion("modify_date <=", value, "modifyDate");
            return (Criteria) this;
        }

        public Criteria andModifyDateIn(List<Date> values) {
            addCriterion("modify_date in", values, "modifyDate");
            return (Criteria) this;
        }

        public Criteria andModifyDateNotIn(List<Date> values) {
            addCriterion("modify_date not in", values, "modifyDate");
            return (Criteria) this;
        }

        public Criteria andModifyDateBetween(Date value1, Date value2) {
            addCriterion("modify_date between", value1, value2, "modifyDate");
            return (Criteria) this;
        }

        public Criteria andModifyDateNotBetween(Date value1, Date value2) {
            addCriterion("modify_date not between", value1, value2, "modifyDate");
            return (Criteria) this;
        }
    }

    /**
     * axd_cust_loan
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * axd_cust_loan
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}